import request from '@/utils/request'

export function getSales(query) {
  return request({
    url: '/api/sales',
    method: 'get',
    params: query
  })
}

export function postUser(id,data) {
  return request({
    url: '/api/users/' + id,
    method: 'post',
    data
  })
}
